package org.example.result;

public enum BaseSuccessCode implements StateCode {


    // ========== 成功状态信息 ==========
    SUCCESSFUL_OPERATION("200", "操作成功");


    private final String code;

    private final String message;

    BaseSuccessCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
